package com.springboot.annotation;

import com.springboot.domain.OperationTypeEnum;

import java.lang.annotation.*;

/**
 * 操作日志自定义注解
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogDetail {

    String userId() default "";

    String unit() default "unknown";

    OperationTypeEnum type() default OperationTypeEnum.UNKNOWN;

}
